package com.jnzc.ocr.serv.system.api;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.*;

/**
 * @author zhangcm
 * @version 1.0, 2017-10-07
 */
@FeignClient("serv-system")
@RequestMapping("/sysNoApi")
public interface SysNoApi {

    @PostMapping("/getNextShopNo")
    String getNextShopNo(@RequestParam("companyId") Long companyId);

    @PostMapping("/getNextUserNo")
    String getNextUserNo(@RequestParam("companyId") Long companyId);

    @PostMapping("/getNextMemberNo")
    String getNextMemberNo(@RequestParam("companyId") Long companyId);
}
